home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 426-450 / disk_443 / dice / dice.lzh / include / lib / bcpl.h < prev    next >
C/C++ Source or Header  |  1990-08-02  |  249b  |  16 lines

  1.  
  2. /*
  3.  *  LIB/BCPL.H
  4.  *
  5.  *  (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _LIB_BCPL_H
  9. #define _LIB_BCPL_H
  10.  
  11. #define BTOC(bptr, type)  ((type *)((long)(bptr) << 2))
  12. #define CTOB(cptr)  ((BPTR)((unsigned long)(cptr) >> 2))
  13.  
  14. #endif
  15.  
  16.